package com.mifengs.mall.di.module;

import com.mifengs.commonbase.di.scope.FragmentScope;
import com.mifengs.mall.ui.main.FloorFrgContract;
import com.mifengs.mall.ui.main.FloorFrgPresenter;

import dagger.Module;
import dagger.Provides;

/**
 * Created by lihaoqi on 2018/4/18.
 */

@Module
public class FloorFrgModule {

    public final FloorFrgContract.View mView;

    public FloorFrgModule(FloorFrgContract.View mView) {
        this.mView = mView;
    }

    @FragmentScope
    @Provides
    public FloorFrgPresenter providePresenter() {
        return new FloorFrgPresenter(mView);
    }

}
